package com.enzoism.aiops.controller.test;

import com.enzoism.aiops.service.test.ZcdcZxService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * User: enzoism
 * Date: 2019/12/15- 23:22
 */
@RestController
@RequestMapping("/zx")
public class ZcdcZxController {

    @Resource
    ZcdcZxService zcdcZxService;

    @GetMapping("/hello/{zxUuid}")
    @ResponseBody
    public Object hello(@PathVariable String zxUuid){
        return zcdcZxService.selectByPrimaryKey(zxUuid);
    }
}
